package com.jielihaofeng.chat.query;

import com.jielihaofeng.framework.common.query.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "搜索用户")
public class SearchUserAndGroupQuery extends Query {

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "搜索关键字")
    private String searchKey;

    @Schema(description = "是否已是好友")
    private Boolean isFriend;

}